﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admini/Master.Master" AutoEventWireup="true" CodeBehind="PermissList.aspx.cs" Inherits="ART.Admini.Setting.PermissList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">
  <div id="h_main">
  <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <contenttemplate>
        <table border="0" cellspacing="0" style="width: 100%;">
            <tr class="daohang_title">
                <td style="text-align: left; padding-left: 3px;">
                    权限列表↓ 
                </td>
                <td style="text-align: right; padding-right: 3px;">
                    <input id="btnAdd" type="button" value="新 增" class="btnlistOver" onclick="javascript:openDlg('DesktopAdd','新增','PermissDetail.aspx',580,290,'');" />
                    </td>
            </tr>
          <tr>
                <td colspan="2">
        <ctl:Repeater ID="Rep_List" runat="server">
        <HeaderTemplate>
        <table border="0" cellpadding="0" cellspacing="0" width="100%" id="tableData">
                <tr>
                    <th width="60">ID</th>
                    <th width="160">名称</th>
                    <th width="260">地址</th>
                    <th width="60">是否显示</th>
                    <th width="60">排序</th>
                    <th >操作管理 </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
            <tr onmouseover="mover(this)" onmouseout="mout(this)" height="23" class="tr_data">
                    <td width="60"><%# Eval("id") %></td>
                    <td width="160"><%# GetName(Eval("PermissName"), Eval("ParentID"))%></td>
                    <td width="260"><%# Eval("PageName")%></td>
                    <td width="60"><%# Eval("IsShow").ToString() == "0" ? "<a href=\"javascript:void()\" style=\"color:red\">不显示</a>" : "显示"%></td>
                    <td width="60"><%# Eval("Sort")%></td>
                    <td >
                    <a href="javascript:void(0)" onclick="javascript:openDlg('DesktopEdit','编辑菜单','PermissDetail.aspx?id=<%# Eval("ID") %>',580,290,'');">
                                            编辑</a>
&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="LinkButton1" runat="server" ForeColor="#192E32" OnClientClick="return confirm('确定删除吗');"  OnClick="Btn_Del_Click"  CommandArgument='<%# Eval("ID") %>'>删除</asp:LinkButton></td>
                    </tr>
                   
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
         </ctl:Repeater>
             </td>
            </tr>
        </table>
        </contenttemplate>
        </asp:UpdatePanel>
        </div>
</asp:Content>
